package com.zhehekeji.opsys.api.webservice.server;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.zhehekeji.opsys.api.resp.StatisticalTrafficResp;

/**
 * @ClassName DataSatistics
 * @Description TODO
 * @author chenweiliu chenwei.liu@163.com
 * @date 2015-3-26   上午10:59:11
 */
@Path(value="/")
@WebService
public interface DataSatistics {
	/**
	 * 
	* @Title: statisticalTraffic 
	* @Description: 统计产品访问量
	* @param productCode 产品编码
	* @return StatisticalTrafficResp 
	 */
	@GET
	@Path(value="statisticalTraffic")
	@Produces(value=MediaType.APPLICATION_JSON )
	@WebMethod(action="doStatisticalTraffic",operationName="statisticalTraffic")
	StatisticalTrafficResp statisticalTraffic(@WebParam(name="productCode")@QueryParam(value="productCode")String productCode);
}
